package cn.iocoder.yudao.module.system.controller.admin.tradinghours.vo;

import cn.iocoder.yudao.framework.common.pojo.HourRange;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 营业时间 Response VO")
@Data
@ExcelIgnoreUnannotated
public class SystemTradingHoursRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "18677")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "星期几(0-6,0表示周日)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("星期几(0-6,0表示周日)")
    private Integer dayOfWeek;

    @Schema(description = "格式: [{\"start\":\"HH:mm\", \"end\":\"HH:mm\"}, ...]", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("格式: [{\"start\":\"HH:mm\", \"end\":\"HH:mm\"}, ...]")
    private List<HourRange> timeRanges;

    @Schema(description = "特殊交易日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("特殊交易日期")
    private LocalDate tradingDate;

    @Schema(description = "说明", example = "你猜")
    @ExcelProperty("说明")
    private String description;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("类型")
    private Integer type;
    private Integer module;


    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}